<template>
  <view @touchmove.prevent="noop">
    <view class="scroll1">
      <view class="scroll1-content">这里有内容</view>
    </view>
  </view>
</template>
<script>
import 'jquery'
import '@/libs/jquery.mCustomScrollbar.css'
import '@/libs/jquery.mCustomScrollbar.concat.min.js'
export default{
  data(){
    return {
      a : 1,
      b : 2
    }
  },
  methods : {
    noop(){}
  },
  mounted(){
    $('.scroll1').mCustomScrollbar({
      axis : 'x'
    });
  }
}
</script>
